#include <iostream>
#include <fstream>
using namespace std;

#include "CGravitationalAcretion.h"
#include "../Particle/CParticle.h"  
#include "../SolarNebula/CSolarNebula.h"
 

typedef CParticle<CParticleTraits>	particle_t;
typedef CSolarNebula<particle_t>	solar_nebula_t;
typedef CGravitationalAcretion<solar_nebula_t> gravitational_acretion_t;

int main (int , char * []) {
	cout << "Making nebula" << endl;
//	CSolarNebula<particle_t> p ("google2.bmp");
	CSolarNebula<particle_t> p ("iris.txt", 4, 150, true);
//	cout << p << endl;
	gravitational_acretion_t _g(p._nebula, .9, 2, 4);
	_g.print_to_image(p._nebula, "google2.bmp");
	return true;
} 